.message-page {
	min-height: 100vh;
	background-color: #F5F5F5;
	display: flex;
	flex-direction: column;
}

/* Tab栏 */
.tab-bar {
	background-color: #FFFFFF;
	display: flex;
	border-bottom: 1px solid #F0F0F0;
	position: relative;
}

.tab-item {
	flex: 1;
	text-align: center;
	padding: 32rpx 0;
	position: relative;
}

.tab-text {
	font-size: 28rpx;
	color: #999999;
	font-weight: 500;
}

.tab-item.active .tab-text {
	color: #89CFF0;
	font-weight: bold;
}

.tab-item.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60rpx;
	height: 4rpx;
	background-color: #89CFF0;
	border-radius: 2rpx;
}

/* Tab未读消息提示 */
.tab-unread-badge {
	position: absolute;
	top: 15rpx;
	right: 20%;
	transform: translateX(50%);
	min-width: 32rpx;
	height: 32rpx;
	border-radius: 16rpx;
	background-color: #FF3B30;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8rpx;
	font-size: 20rpx;
	color: #FFFFFF;
	z-index: 10;
}

/* 消息列表 */
.message-list {
	flex: 1;
	background-color: #F5F5F5;
	padding-bottom: 120rpx;
}

.message-content {
	background-color: #FFFFFF;
}

.message-item {
	display: flex;
	align-items: center;
	padding: 32rpx;
	border-bottom: 1px solid #F0F0F0;
	position: relative;
}

.friend-request-card {
	background-color: #FFF3E0;
}

.message-icon {
	width: 80rpx;
	height: 80rpx;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40rpx;
	margin-right: 24rpx;
	flex-shrink: 0;
}

.message-avatar {
	width: 80rpx;
	height: 80rpx;
	border-radius: 50%;
	margin-right: 24rpx;
	flex-shrink: 0;
}

.message-info {
	flex: 1;
	min-width: 0;
}

.message-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8rpx;
}

.message-title {
	font-size: 28rpx;
	font-weight: 500;
	color: #333333;
}

.message-time {
	font-size: 20rpx;
	color: #999999;
	flex-shrink: 0;
	margin-left: 16rpx;
}

.message-desc {
	font-size: 24rpx;
	color: #666666;
	line-height: 1.4;
}

.line-clamp-1 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.unread-badge {
	width: auto;
	min-width: 16rpx;
	height: 32rpx;
	border-radius: 16rpx;
	background-color: #FF3B30;
	margin-left: 16rpx;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8rpx;
	font-size: 20rpx;
	color: #FFFFFF;
}